package com.yunji.product.params;

import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;

/**
 * @Project: yunji-coffee
 * @Package: com.yunji.product.params
 * @Title: ProductBrandParam
 * <p>
 * History:
 * Date                     Version     Author          Summary
 * ============================================================
 * 2024-08-14 10:12:57      V1.0        HuaAo       新建类
 */

public class BrandParam {

    @ApiModelProperty("单位ID")
    private Long brandId;

    @ApiModelProperty("单位名称")
    @Length(message = "单位名称不能超过{max}个字符", max = 10)
    private String brandName;

    public Long getBrandId() {
        return brandId;
    }

    public void setBrandId(Long brandId) {
        this.brandId = brandId;
    }

    public String getBrandName() {
        return brandName;
    }

    public void setBrandName(String brandName) {
        this.brandName = brandName;
    }
}